package com.bestv.search.spider.service;

import com.bestv.search.spider.model.Person;
import com.bestv.search.spider.model.Product;

import java.util.Date;
import java.util.List;

public interface PersonManager {

    Person getById(String personId, String source);

    void saveList(List<Person> persons);

    void updateList(List<Person> persons);

    void update(Person person);

    List<Person> getByUpdateTime(Date date);

    List<Person> getAll();

    List<Person> getByNullAvatar_Iqiyi();

    List<Product> getProductsByPersonId(String personeId);

}
